/*
 * Copyright © Yolanda. All Rights Reserved
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.example.transformpage.NoHttp.queue;

import com.alibaba.fastjson.JSONObject;

import java.util.Hashtable;

/**
 * <p>
 * 要去执行的任务。
 * </p>
 * Created in Mar 27, 2016 8:15:20 PM.
 * 
 * @author Yolanda;
 */
public class Request_netWork<T> {


	private String tag;

	private String url;

	private Hashtable<String,String> mHashtable;

	private Class clazz;

	public int getIntTag() {
		return intTag;
	}

	public void setIntTag(int intTag) {
		this.intTag = intTag;
	}
	private boolean moreTag = false;

	public boolean isMoreTag() {
		return moreTag;
	}

	public void setMoreTag(boolean moreTag) {
		this.moreTag = moreTag;
	}

	private int intTag;

	public String getTag() {
		return tag;
	}

	public void setTag(String tag) {
		this.tag = tag;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public Hashtable<String, String> getHashtable() {
		return mHashtable;
	}

	public void setHashtable(Hashtable<String, String> hashtable) {
		mHashtable = hashtable;
	}

	public Class getClazz() {
		return clazz;
	}

	public void setClazz(Class clazz) {
		this.clazz = clazz;
	}



	public Request_netWork(String tag, String url, Hashtable<String, String> hashtable) {
		this.tag = tag;
		this.url = url;
		mHashtable = hashtable;
	}
	public JSONObject mJsonObject;
	public void setJSONObject(JSONObject mJsonObject) {
		this.mJsonObject = mJsonObject;
	}

	public JSONObject getJsonObject() {
		return mJsonObject;
	}



	@Override
	public String toString() {
		return "Request_netWork{" +
				"tag='" + tag + '\'' +
				", url='" + url + '\'' +
				", mHashtable=" + mHashtable +
				", mJsonObject=" + mJsonObject +
				'}';
	}
}
